body
{
    background: #E3E1E0;
}
#container
{
    margin:0 30px;
}
#header
{
    height: 50px;
}
#header h1
{
    float:left;
    margin-left: 5px;
    margin-top: 15px;
}
#header h1 a
{
    font-size: 36px;
    text-decoration: none;
    font-family:Courier New;
}
#header .message
{
    text-align:center;
    margin:0 auto;
    position:relative;
    top:20px;
}
#header .message span
{
    background: #68AF02;
    color: #FFFFFF;
    padding: 1px 24px;
    margin-bottom: 1px;
    display: inline-block;
}
#header .message span.error
{
    background: #EAA000;
}
#header .quick-nav
{
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    float:right;
    margin-top:10px;
    padding: 5px 15px;
    background: #fff;
    border: #ccc 1px solid;
}
#header .quick-nav > li
{
    float: left;
    padding: 0 2px;
}
#header .quick-nav > li a
{
    text-decoration: none;
}
#header .quick-nav > li a:hover
{
    text-decoration: underline;
}
.quick-nav li:last-child
{
    position: relative;
}
.quick-nav .more + ul
{
    padding: 0 0 10px 0;
    background: #fff;
    border: #ccc 1px solid;
    border-top: 0;
    list-style: none;
    position: absolute;
    top: 22px;
    right: -12px;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 60px;
}
.quick-nav .more + ul li
{
    float: left;
    display: block;
}
.quick-nav .more + ul li a
{
    display: block;
    padding: 2px 10px;
    width: 100%;
}
.quick-nav .more + ul li a:hover
{
    color: #fff;
    background: #3470CC;
    text-decoration: none !important;
}
/* Main
-------------------------------------*/
#main
{
    overflow: hidden;
    padding: 20px 5px 10px 5px;
    border: #ccc 1px solid;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
}
/* Left
---------------------------------*/
#main > .sidebar
{
    float: left;
    width: 200px;
    margin-top: 20px;
    padding-bottom: 20px;
    position: relative;
}
#main > .sidebar ul
{
    margin: 10px 0 0 10px;
    min-height: 380px;
}
#main > .sidebar ul li
{
}
#main > .sidebar ul li a
{
    display: block;
    font-size: 12px;
    line-height: 28px;
    overflow: hidden;
    padding-left: 8px;
    text-decoration: none;
}
#main > .sidebar ul li a:hover
{
    background: #F5F5F5;
}
#main > .sidebar ul li.current
{
    border: #ccc 1px solid;
    border-right: 0;
    font-weight: bold;
    margin-right: -1px;
}
#main > .sidebar ul li.current a
{
    background: #fff;
}
#main > .sidebar ul li a.online
{
    background: #fff url(images/sprite.png) no-repeat 174px 10px;
}
#main > .sidebar ul li a.offline
{
    background: #fff url(images/sprite.png) no-repeat 174px -14px;
}
#main > .sidebar ul li a.online:hover
{
    background: #F5F5F5 url(images/sprite.png) no-repeat 174px 10px;
}
#main > .sidebar ul li a.offline:hover
{
    background: #F5F5F5 url(images/sprite.png) no-repeat 174px -14px;
}
#main > .sidebar ul li.current a.online:hover
{
    background: #fff url(images/sprite.png) no-repeat 174px 10px;
}
#main > .sidebar ul li.current a.offline:hover
{
    background: #fff url(images/sprite.png) no-repeat 174px -14px;
}
#main > .sidebar ul + .buttons
{
    margin-left:148px;
}
#main > .sidebar ul + .buttons a
{
    display: inline-block;
    height: 16px;
    margin-right: 5px;
    width: 20px;
}
#main > .sidebar ul + .buttons a:first-child
{
    background: url(images/sprite.png) 0 -254px;
}
#main > .sidebar ul + .buttons a:first-child.disable
{
    background: url(images/sprite.png) -27px -254px;
}
#main > .sidebar ul + .buttons a:last-child
{
    background: url(images/sprite.png) -80px -254px;
}
#main > .sidebar ul + .buttons a:last-child.disable
{
    background: url(images/sprite.png) -54px -254px;
}
#main > .content > .left  .buttons
{
    border: 1px solid #9C9C9C;
    padding: 4px 10px;
    display:inline;
    background: url(images/sprite.png) repeat-x 0 -144px;
    font-weight: bold;
}
#main > .content > .left .buttons a
{
    color: #000;
    outline: none;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0 5px;
}
#main > .content > .left .buttons a:hover
{
    text-decoration: underline;
}
#main > .content > .left  .buttons + ul
{
    margin-top:20px;
}
/* Content
-----------------------------------------------*/
#main > .content
{
    margin-left: 200px;
    min-height: 450px;
    min-width: 500px;
    padding: 0 10px 0 15px;
    border-left: 1px solid #ccc;
}

#main > .content > .left
{
    padding-top:10px;
    float: left;
    width: 189px;
}
#main > .content > .right
{
    margin-left: 190px;
    min-height: 415px;
}
#main > .content > .right > .buttons
{
    float:right;
    margin-top: 8px;
}
.view-button, .setting-button
{
    width:24px;
    height:18px;
    display: inline-block;
    margin: 0 2px;
}
.view-button
{
    background: url(images/sprite.png)  no-repeat -78px -222px;
}
.setting-button
{
    background: url(images/sprite.png)  no-repeat 4px -222px;
}
.tab-nav
{
    border-bottom: 1px solid #CCCCCC;
    margin-bottom:10px;
    padding-left:20px;
    height: 25px;
}
.tab-nav a
{
    display: inline-block;
    padding: 3px 10px;
    text-decoration: none;
}
.tab-nav li
{
    float: left;
}
.tab-nav li.current a
{
    border: 1px solid #ccc;
    border-bottom: 0;
    font-weight: bold;
    background: #fff;
    margin-bottom: -1px;
}
.toolbar
{
    margin-bottom: 10px;
}
.toolbar form
{
    display:inline;
}
#main > .content h2
{
    border-bottom: 1px solid #ccc;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 7px 0 5px 10px;
}
/* Footer
------------------------------------------------*/
#footer p
{
    margin:10px 0;
    text-align: center;
}

/* Data Table
----------------------------------------*/
.data-table
{
    border: #ccc 1px solid;
    width: 100%;
    line-height: 2em;
}
.data-table td
{
    border-right: #ccc 1px solid;
    border-bottom: #ccc 1px solid;
    padding: 2px;
    text-align: center;
}
.data-table thead th
{
    background: #F5F5F5;
    font-weight: bold;
    padding: 2px;
    border: #ccc 1px solid;
    text-align: center;
}
.data-table thead th a
{
    text-decoration: none;
}
.data-table .edit, .data-table .delete, .data-table .true, .data-table .false
{
    width: 24px;
    height: 24px;
    text-indent: -10000px;
    display: inline-block;
    *display:block;
}
.data-table .edit
{
    background: url(images/sprite.png) no-repeat -79px -79px;
}
.data-table .delete, .data-table .delete:hover
{
    background: url(images/sprite.png) no-repeat 5px -78px;
}
.data-table button.delete
{
    border: 0;
    cursor: pointer;
}
.data-table .true
{
    background: url(images/sprite.png) no-repeat 4px -46px;
}
.data-table .false
{
    background: url(images/sprite.png) no-repeat -81px -46px;
}
.data-table tfoot td
{
    font-weight: bold;
    padding: 10px 0;
}

.data-table tfoot a
{
    border: 1px solid #D8D8D8;
    font-weight: normal;
    color: #0066CA;
    background: #FFFFFF;
    display: inline-block;
    font-family: 'Tahoma';
    height: 22px;
    line-height: 22px;
    margin-right: 5px;
    text-decoration: none;
    width: 22px;
}
.data-table tfoot a:hover
{
    background: #D1E5FC;
}

/* extension-forms */
.extension-forms ul, .extension-forms li
{
    list-style: none;
}
.extension-forms .preview
{
    width: 400px;
    min-height: 250px;
    border: 1px solid #ccc;
    float: left;
}
.extension-forms .preview > li
{
    background: none repeat scroll 0 0 #FFFFFF;
    border-bottom: 1px dashed #D8D8D8;
    display: block;
    padding: 12px 10px;
    word-wrap: break-word;
}
.extension-forms .preview > li:hover
{
    background: #F5F5F5;
}
.extension-forms .preview li .title
{
    font-weight: bold;
}
.extension-forms .preview li label
{
    display: block;
}
.extension-forms .preview li .actions
{
    padding-left: 285px;
}
.extension-forms .preview li .actions a
{
    text-decoration: none;
}
.extension-forms .preview li .actions a:hover
{
    text-decoration: underline;
}
.extension-forms .preview li .action-block
{
    background: #fff;
    border: 1px solid #DCDCDC;
    margin: 6px 0 0 50px;
    padding: 5px 12px;
    position: relative;
    width: 300px;
}
.extension-forms .preview li .action-block .arrow
{
    position: relative;
    top: -15px;
    margin-left: 228px;
}
.extension-forms .preview li .action-block .arrow span
{
    left: 0;
    height: 10px;
    width: 18px;
    position: absolute;
    font-size: 16px;
    font-family: Simsun;
}
.extension-forms .preview li .action-block .arrow span + span
{
    color: #fff;
    top: 1px;
    z-index: 999;
}
.extension-forms .preview li .action-block .arrow span
{
    color: #ccc;
    top: 0;
    z-index: 99;
}
.extension-forms .preview li .action-block a.close
{
    display: inline-block;
    float: right;
    text-decoration: none;
}
.extension-forms .preview li .action-block input[type=text]
{
    width: 200px;
}
.extension-forms .preview li ul li
{
    border: 0;
}
.extension-forms .preview li ul li:hover
{
    background: none;
}
.extension-forms .preview li .action-block ul li .add, .extension-forms .preview li .action-block ul li .delete
{
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 0 2px;
}
.extension-forms .preview li .action-block ul li .add
{
    background: url(images/sprite.png)  no-repeat 1px -114px;
}
.extension-forms .preview li .action-block ul li .delete
{
    background: url(images/sprite.png)  no-repeat -26px -114px;
}

.extension-forms .sidebar
{
    margin-left: 412px;
}
.extension-forms .sidebar p
{
    font-size: 13px;
    font-weight: bold;
}
.extension-forms .sidebar ul
{
    float: left;
}
.extension-forms .sidebar li
{
    margin: 3px 0;
    font-size: 11px;
    font-family: "Trebuchet MS" , "Helvetica" , "Arial" , "Verdana" , "sans-serif";
}
.extension-forms .sidebar li a
{
    border-bottom: 1px dotted #ccc;
    display: block;
    padding: 3px 4px;
    text-decoration: none;
}
.extension-forms .sidebar li a:hover
{
    background: #F5F5F5;
}

